package com.gexiaobao.pigeon.app.model.bean

import android.os.Parcelable
import kotlinx.android.parcel.Parcelize

/**
 * @Author      : hxw
 * @Date        : 2023/3/23 14:19
 * @Describe    :
 */
@Parcelize
class CountryInfoResponse(

    var list: ArrayList<DataList> = arrayListOf()

) : Parcelable {

    /**
     * 数据是否为空
     */
    fun isEmpty() = list == null || (list as List<*>).isEmpty()

    @Parcelize
    class DataList(

        var id: Int = 0,
        var classId: Int = 0,
        var name: String = "",
        var data: String = ""

    ) : Parcelable
}